package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the CERTIFICATE_AUXILIARY database table.
 * 
 */
@Entity
@Table(name="CERTIFICATE_AUXILIARY")
@NamedQuery(name="CertificateAuxiliary.findAll", query="SELECT c FROM CertificateAuxiliary c")
public class CertificateAuxiliary implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CERTIFICATE_AUXILIARY_CERTIAUID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CERTIFICATE_AUXILIARY_CERTIAUID_GENERATOR")
	@Column(name="CERTIAU_ID")
	private long certiauId;

	@Column(name="CERTIAU_ACCESSORY")
	private String certiauAccessory;

	@Column(name="CERTIAU_INTRODUCER")
	private String certiauIntroducer;

	@Column(name="CERTIAU_REMARKS")
	private String certiauRemarks;

	@Column(name="CERTIFICATE_HOLDER")
	private String certificateHolder;

	@Column(name="CREDENTIALS_ID")
	private BigDecimal credentialsId;

	@Column(name="FULL_FACE")
	private String fullFace;

	@Column(name="INTRODUCER_PHONE")
	private BigDecimal introducerPhone;

	@Column(name="ISSUE_AUTHORITY")
	private String issueAuthority;

	@Column(name="ISSUE_DATE")
	private Timestamp issueDate;

	@Column(name="REVERSE_SIDE")
	private String reverseSide;

	//bi-directional many-to-one association to Certificate
	@ManyToOne
	@JoinColumn(name="CERTI_ID")
	private Certificate certificate;

	public CertificateAuxiliary() {
	}

	public long getCertiauId() {
		return this.certiauId;
	}

	public void setCertiauId(long certiauId) {
		this.certiauId = certiauId;
	}

	public String getCertiauAccessory() {
		return this.certiauAccessory;
	}

	public void setCertiauAccessory(String certiauAccessory) {
		this.certiauAccessory = certiauAccessory;
	}

	public String getCertiauIntroducer() {
		return this.certiauIntroducer;
	}

	public void setCertiauIntroducer(String certiauIntroducer) {
		this.certiauIntroducer = certiauIntroducer;
	}

	public String getCertiauRemarks() {
		return this.certiauRemarks;
	}

	public void setCertiauRemarks(String certiauRemarks) {
		this.certiauRemarks = certiauRemarks;
	}

	public String getCertificateHolder() {
		return this.certificateHolder;
	}

	public void setCertificateHolder(String certificateHolder) {
		this.certificateHolder = certificateHolder;
	}

	public BigDecimal getCredentialsId() {
		return this.credentialsId;
	}

	public void setCredentialsId(BigDecimal credentialsId) {
		this.credentialsId = credentialsId;
	}

	public String getFullFace() {
		return this.fullFace;
	}

	public void setFullFace(String fullFace) {
		this.fullFace = fullFace;
	}

	public BigDecimal getIntroducerPhone() {
		return this.introducerPhone;
	}

	public void setIntroducerPhone(BigDecimal introducerPhone) {
		this.introducerPhone = introducerPhone;
	}

	public String getIssueAuthority() {
		return this.issueAuthority;
	}

	public void setIssueAuthority(String issueAuthority) {
		this.issueAuthority = issueAuthority;
	}

	public Timestamp getIssueDate() {
		return this.issueDate;
	}

	public void setIssueDate(Timestamp issueDate) {
		this.issueDate = issueDate;
	}

	public String getReverseSide() {
		return this.reverseSide;
	}

	public void setReverseSide(String reverseSide) {
		this.reverseSide = reverseSide;
	}

	public Certificate getCertificate() {
		return this.certificate;
	}

	public void setCertificate(Certificate certificate) {
		this.certificate = certificate;
	}

}